package com.atguigu03._extends.exer2;

/**
 * ClassName: PersonTest
 * Description:
 *
 * @Author liu
 * @Create 2024/10/27 19:38
 * @Version 1.0
 */
public class CircleTest {
    public static void main(String[] args) {
        Cylinder cy = new Cylinder();
        cy.setRadius(2.3);
        cy.setLength(1.5);

        System.out.println("圆柱的体积为"+cy.findVolume());
        System.out.println("圆柱的底面积为"+cy.findArea());
    }
}
